int randi(int max);
int timeval_subtract (struct timeval *result, struct timeval *t2, struct timeval *t1);
void tic (struct timeval *timer) ;
void toc (struct timeval *timer) ;
